﻿
.accordion {
  display: flex;
  height: 475px;
  background-color: white;
  line-height: 0;
  padding-top:2rem;
}

.accordion-cell {
  display: flex;
  position: relative;
  height: 400px;
  width: 80px;
  background: #FFF;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
  margin-right: 1px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-property: width;
  transition-duration: .3s;
  height: 100%;
}
.accordion-cell  h3 {
  display: flex;
  position: absolute;
  width: 80px;
  margin: 0;
  padding: 0;
  left: 0rem;
  text-align: left;
  color: #8D1B3D;
  transform: rotate(-90deg);
  transition-property: left right transform;
  transition-duration: 250ms;
  font-size: 20px;
  line-height: 24px;
  text-transform:none;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.accordion-cell .accordion-cell-content {
  display: block;
  max-height: 100%;
  margin: 0;
  padding: 4rem 1rem 1rem;
  opacity: 0;
  transition-property: opacity;
  transition-duration: .1s;
  overflow: hidden;
 
  
}
.accordion-cell .accordion-cell-content p {
  display: block;
  margin: 0;
  padding: 0 0 0 0;
  font-size: 16px;
}

.expanded {
  width: auto;
  background: #fff;
  pointer-events: none;
  color: #282828;
  max-width: calc(100% - 567px);
  flex: 0 0 calc(100% - 567px);
}
.expanded > h3 {
  	left: 2rem;
	top: 2rem;
	transform: rotate(0deg);
	display: block;
	height: auto;
	width: auto;
	color: #fff;
	font-size: 28px;
	font-weight: 500;
	background: #8D1B3D;
	padding: 0.5rem 1rem;}
.expanded .accordion-cell-content {
  opacity: 1;
  transition-property: opacity;
  transition-duration: .3s;
}

.collapsed {
  width: 80px;
}
.municipality-map {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: 20px;
}

.box {
  width: 100px;
}

.box h4 {
  display: block;
  text-align: center;
  color: #fff;
}

.box .chart {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 100px;
  height: 100px;
  color: #282828;
}

.box canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  width: 100%;
}
.chartbox{display: flex;align-items: center;padding-bottom: 1.5rem;}
.chart-content {
  padding: 1rem;
}

.chart-content .value {
  font-size: 24px;
  line-height: 29px;
  color: #282828;
}
.chart-content h4 {
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
  color: #989898;
}
.m-total {
  border-radius: 50px 20px 50px 5px;
  color: #fff;
  height: 80px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.m-year {
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
}

.m-value {
  font-weight: 500;
  font-size: 30px;
  line-height: 40px;
}
.m-total.c2010 {
  background: #009AC3;
}
.m-total.c2020 {
  background: #DA6029;
}


@media (max-width:1360px){
	
	.box {
    width: 75px;
}

.box .chart {
    height: 75px;
    line-height: 75px;
    font-size: 16px;
    font-weight: 500;
    width: 75px;
}

.box canvas {
    width: 75px !important;
    height: 75px !important;
}
.m-total {
    width: 200px;
}
}

@media(max-width:1300px){
	
	.expanded {
    max-width: calc(100% - 427px);
    flex: 0 0 calc(100% - 427px);
}

.collapsed {
    width: 60px;
}
.accordion-cell h3 {
    left: -0.5rem;
    font-size: 18px;
    line-height: 18px;
}
.expanded > h3 {
  left: 2rem;
  font-size:28px;

}


@media(max-width:1024px){
  .collapsed {
      width: 100%;
  }
  
  .accordion {
      display: block;
      height: auto;
  }
  
  .accordion-cell {
      height: 60px;
      padding: 3px;
      margin: 6px 0;
  }
  
  .accordion-cell h3 {
      transform: rotate(0);
      top: 1rem;
      left: 2rem;
      display: block;
  }
  
  .expanded {
      height: auto;
      max-width: 100%;
  }
  
}
@media (max-width:767px){
	.pmvalues-2010 {
	    padding-bottom: 3rem;
	}
}